package com.earnings.okhttputils.utils.ui.activity.common;

import android.view.View;
import android.widget.TextView;

import com.earnings.R;
import com.earnings.okhttputils.utils.god.GodLeftHandBaseActivity;



/**
 * Created by Administrator on 2016/10/24.
 * 状态
 */
public class StatusActivity extends GodLeftHandBaseActivity implements View.OnClickListener {
    private  TextView status,price,info;

    @Override
    protected int onCreateLayoutId() {
        return R.layout.activity_status;
    }

    @Override
    protected void init() {
//  price= (TextView) findViewById(R.id.price);
        info= (TextView) findViewById(R.id.info);
        //   status= (TextView) findViewById(R.id.status);
        findViewById(R.id.sumbit).setOnClickListener(this);
        if(bundleData.containsKey("title"))super.setTitle(bundleData.getString("title"));
        if(bundleData.containsKey("info"))info.setText(bundleData.getString("info"));
    }



    @Override
        public void onClick(View v) {
        int i = v.getId();
        if (i == R.id.sumbit) {
            finish();
        }
    }
}
